import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false

// 引入默认样式
import './assets/css/res.css'
import './assets/css/common.css'

import './../public/fontImg/iconfont.css'

import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

//  全局loading
import $loading from './components'
Vue.use($loading)   //use的作用就是调用模块内的install方法

// 引入rem适配
import './assets/js/rem.js'
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
